#ifndef WII_GI_C_TEXTURE_RESOURCE_H
#define WII_GI_C_TEXTURE_RESOURCE_H

#include "c_Resource.h"
#include "c_Texture.h"

namespace wiigi
{
   class c_TextureResource : public c_Resource
   {
      public:      
         c_TextureResource( c_ResourceMgr* ResourceMgr );
         
         virtual ~c_TextureResource()
         {
            purge();
            printf( "~c_SpriteResource()\n" );
         }
         
         bool setParameter( const std::string& ParameterName, const std::string& ParameterValue );
         
         c_Texture* getTexture( void );
         
         bool cache( void );
         bool purge( void );
      
      private:
         void setFileName( const std::string& FileName )
         {
            m_FileName = FileName;
         }
      
      private:
         std::string m_FileName;
         c_Texture*  m_Texture;
         
      
   };   
}

#endif //WII_GI_C_TEXTURE_RESOURCE_H
